package com.itheima.goods.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
/**
 * spec实体类
 * @author itheima
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_spec")
public class Spec implements Serializable{

	@TableId
	private Integer id;//ID



    @ApiModelProperty("名称")
	private String name;//名称
    @ApiModelProperty("规格选项")
	private String options;//规格选项
    @ApiModelProperty("排序")
	private Integer seq;//排序


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getOptions() {
		return options;
	}
	public void setOptions(String options) {
		this.options = options;
	}

	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}



}
